import { Bot_msg } from "../../model/bot/bot_msg";
import server from "../../model/client/server";
import { mathType, packge } from "../../model/msgHandle/packge";
import { style_default } from "../../style/default";

class index extends packge {

    constructor() {
        super()
    }
    init(): void {
        this.addMath(mathType.math_all, '基础指令', ((msg: Bot_msg) => { this.menu(msg) }), this)
        this.addMath(mathType.math_all, '更多指令', ((msg: Bot_msg) => { this.menu_2(msg) }), this)
    }
    async menu_2(msg:Bot_msg){
        let s = new style_default();
        s.setTitle('更多指令');
        await s.addOne()
        s.setline_Title('战斗操作','⚔️');
        s.addLine('[攻击全部][攻击玩家][攻击Boss]');
        s.addLine('[离开][祈祷][复活]');
        s.setline_Title('我要交易','💰');
        s.addLine('[主神商店][所有人]');
        s.addLine('[技能商店][装备商店]');
        s.setline_Title('我要变强','⚔️');
        s.addLine('[装备][技能][宠物][小队]');
        s.addLine('[称号][天赋][血统][排行榜]');
        msg.repeText(s.end());
    }
    async menu(msg:Bot_msg){
        let s = new style_default();
        s.setTitle('基础功能');
        await s.addOne()
        s.setline_Title('基础指令','📝');
        s.addLine('[属性][挂机][攻击][复活]');
        s.addLine('[位置][上][下][左][右]');
        s.setline_Title('更多功能','🧙');
        s.addLine('[更多指令]💡新用户别看');
        msg.repeText(s.end());
    }
}
export default new index();